import {RouteRecordRaw} from 'vue-router'

/*export const asyncRoutes:RouteRecordRaw[] = [
  {
    path: "/system",
    name: "system",
    meta: {
      title: "系统管理"
    },
    children: [
      {
        path: "menu",
        name: "menu",
        component: () => import("@/view/system/menu/index.vue"),
        meta: {
          title: "菜单管理"
        }
      }
    ]
  }
]*/

export const routes:RouteRecordRaw[] = [
  {
    path: "/login",
    name: "login",
    meta: {
      title: "登录"
    },
    component: () => import("@/view/login/index.vue")
  },
  {
    path: "/layout",
    name: "layout",
    component: () => import("@/view/layout/index.vue"),
    children: []
  }
]
